﻿using ATEC.ATDataCoreNET;
using ATEC.ATDataCoreNET.ATObjects;
using ATEC.ATDataCoreNET.CCF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CCFWorkExample
{
    [CCF(ccfName = "SSDPNETExample", cclanName = "CubicProperty")]
    public class CubicProperty : ATNonGraphicObject
    {
        public static string cclName = "SSDPNETExample";
        public static string cclanName = "CubicProperty";

        [CCLanProperty(cclanPropName ="basePt")]
        public ATEC.GeometryNET.XPoint3d basePt { get; set; }

        [CCLanProperty(cclanPropName = "width")]
        public double width { get; set; }

        [CCLanProperty(cclanPropName = "length")]
        public double length { get; set; }

        [CCLanProperty(cclanPropName = "height")]
        public double height { get; set; }

        public CubicProperty(ATSceneRef aTScene):base(aTScene)
        {
            basePt = new ATEC.GeometryNET.XPoint3d(0,0,0);
            width = 2000;
            length = 2000;
            height = 400;
        }
    }
}
